package model;

/**
 * TBook entity. @author MyEclipse Persistence Tools
 */

public class TBook implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String author;
	private String press;
	private String booktype;
	private String directory;
	private String introduction;
	private Boolean bookstate;
	private String keyword;
	private Integer num;
	private String borrown;
	private Integer historyBorrow;
	private Integer evaluationid;
	private Integer collectionid;
	private Integer positionid;
	private Integer photoid;
	private Integer locationid;
	private Integer score;
	private String bookdate;
	// Constructors

	
	
	
	/** default constructor */
	public TBook() {
	}


	public TBook(Integer id, String name, String author, String press,
			String booktype, String directory, String introduction,
			Boolean bookstate, String keyword, Integer num, String borrown,
			Integer historyBorrow, Integer evaluationid, Integer collectionid,
			Integer positionid, Integer photoid, Integer locationid,
			Integer score, String bookdate) {
		super();
		this.id = id;
		this.name = name;
		this.author = author;
		this.press = press;
		this.booktype = booktype;
		this.directory = directory;
		this.introduction = introduction;
		this.bookstate = bookstate;
		this.keyword = keyword;
		this.num = num;
		this.borrown = borrown;
		this.historyBorrow = historyBorrow;
		this.evaluationid = evaluationid;
		this.collectionid = collectionid;
		this.positionid = positionid;
		this.photoid = photoid;
		this.locationid = locationid;
		this.score = score;
		this.bookdate = bookdate;
	}


	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	/** minimal constructor */
	public TBook(Integer id) {
		this.id = id;
	}

	/** full constructor */
	

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	

	public String getBookdate() {
		return bookdate;
	}

	public void setBookdate(String bookdate) {
		this.bookdate = bookdate;
	}

	public Integer getLocationid() {
		return locationid;
	}

	public void setLocationid(Integer locationid) {
		this.locationid = locationid;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPress() {
		return this.press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public String getBooktype() {
		return this.booktype;
	}

	public void setBooktype(String booktype) {
		this.booktype = booktype;
	}

	public String getDirectory() {
		return this.directory;
	}

	public void setDirectory(String directory) {
		this.directory = directory;
	}

	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public Boolean getBookstate() {
		return this.bookstate;
	}

	public void setBookstate(Boolean bookstate) {
		this.bookstate = bookstate;
	}

	public String getKeyword() {
		return this.keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getBorrown() {
		return this.borrown;
	}

	public void setBorrown(String borrown) {
		this.borrown = borrown;
	}

	public Integer getHistoryBorrow() {
		return this.historyBorrow;
	}

	public void setHistoryBorrow(Integer historyBorrow) {
		this.historyBorrow = historyBorrow;
	}

	public Integer getEvaluationid() {
		return this.evaluationid;
	}

	public void setEvaluationid(Integer evaluationid) {
		this.evaluationid = evaluationid;
	}

	public Integer getCollectionid() {
		return this.collectionid;
	}

	public void setCollectionid(Integer collectionid) {
		this.collectionid = collectionid;
	}

	public Integer getPositionid() {
		return this.positionid;
	}

	public void setPositionid(Integer positionid) {
		this.positionid = positionid;
	}

	public Integer getPhotoid() {
		return this.photoid;
	}

	public void setPhotoid(Integer photoid) {
		this.photoid = photoid;
	}

}